package com.dfd.store.service;

import java.util.List;

import com.dfd.store.domain.PageModel;
import com.dfd.store.domain.Product;

public interface ProductService {

	List<Product> findHots() throws Exception;

	List<Product> findNews() throws Exception;

	Product findProductById(String pid) throws Exception;

	PageModel findProductByCidWithPage(String cid, int num) throws Exception;

	PageModel findAll(int num) throws Exception;

	PageModel findDown(int num) throws Exception;

	void UpProduct(String pid) throws Exception;

	void addProduct(Product product) throws Exception;

	void DownProductByid(String pid) throws Exception;

}
